export default [
  /**应用管理 */
  {
    path: '/AppManager/Index',
    name: 'application',
    meta: { title: '应用管理', icon: 'app_menu.png' },
    component: () => import('@/views/application/application.vue')
  },
  /* 新增、编辑应用 */
  {
    path: '/AppManager/AppEdit',
    name: 'addApplication',
    meta: { title: '新增应用', icon: 'app_menu.png', isHidden: true, activePath: "/AppManager/Index" },
    component: () => import('@/views/application/addApplication.vue')
  },
  /* 应用详情 */
  {
    path: '/AppManager/AppDetail',
    name: 'applicationDetail',
    meta: { title: '应用详情', icon: 'app_menu.png', isHidden: true, activePath: "/AppManager/Index" },
    component: () => import('@/views/application/applicationDetail.vue')
  },

  /* 用户管理 */
  {
    path: '/UserManager/Index',
    name: 'user',
    meta: { title: '用户管理', icon: 'user_menu.png' },
    component: () => import('@/views/user/user.vue')
  },
  /* 新增、编辑用户 */
  {
    path: '/UserManager/UserEdit',
    name: 'addUser',
    meta: { title: '新增用户', icon: 'user_menu.png', isHidden: true, activePath: "/UserManager/Index" },
    component: () => import('@/views/user/addUser.vue')
  },
  /* 用户详情 */
  {
    path: '/UserManager/UserDetail',
    name: 'userDetail',
    meta: { title: '用户详情', icon: 'user_menu.png', isHidden: true, activePath: "/UserManager/Index" },
    component: () => import('@/views/user/userDetail.vue')
  },
  /* 新增、编辑-组织用户，组织管理员可见 */
  {
    path: '/UserManager/orgUserEdit',
    name: 'orgUserEdit',
    meta: { title: '新增用户', icon: 'user_menu.png', isHidden: true, activePath: "/UserManager/Index" },
    component: () => import('@/views/user/addOrgUser.vue')
  },

  /* 组织管理 */
  {
    path: '/OrgManager/Index',
    name: 'depart',
    meta: { title: '组织管理', icon: 'depart_menu.png' },
    component: () => import('@/views/depart/depart.vue')
  },

  /* 角色用户管理 */
  {
    path: '/RoleManager/Index',
    name: 'permission',
    meta: { title: '角色用户管理', icon: 'permission_menu.png' },
    component: () => import('@/views/permission/permission.vue')
  },

  /* 菜单管理 */
  {
    path: '/MenuManager/Index',
    name: 'menu',
    meta: { title: '菜单管理', icon: 'menu.png' },
    component: () => import('@/views/menu/menu.vue')
  },
]